<html>
    {% for d in cids %}
    <div>
       {% for c in cids[d].clients %}
            
       {% endfor %} 
    </div>
    {% endfor %}
</html>
